package xdu.lz.aop.annotaion;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @date 2020/5/3 12:43
 */
@Component("c")
public class Car {
    @Autowired
    Bike bike;
    public void drive(){
        System.out.println("drive car");
    }
}
